package cn.xianyang.org.service;

import cn.xianyang.basic.service.IBaseService;
import cn.xianyang.org.domain.Employee;

import java.util.List;

public interface IEmployeeService extends IBaseService<Employee> {

    /**
     * 根据logininfo查询员工
     * @param id
     * @return
     */
    Employee loadByLogininfoId(Long id);

    /**
     * 查询某个店铺的员工
     * @param shopId 店铺ID
     * @return
     */
    List<Employee> queryShopEmployees(Long shopId);
}
